﻿import elIcon from './modules/el-icon';
import px from './modules/px';
import svgIcon from './modules/svg-icon';

const pluginsObj: { [key: string]: any } = {
    elIcon,
    px,
    svgIcon,
};

const plugins = {
    install: function (app: any) {
        Object.keys(pluginsObj).forEach(key => {
            app.use(pluginsObj[key]);
        });
    },
};

export default plugins;
